{{define "basearrayslice/index.html"}}
<!DOCTYPE html>
<html>
<head>
    <title>basearrayslice</title>
</head>
<body>
<h1>方式一</h1>
<p>
{{ range .}}
    {{ . }} <br>
{{ end}}
</p>
<h1>方式二</h1>
<p>
{{ range $i,$v := .}}
    {{ $i }} -> {{ $v }} <br>
{{ end}}
</p>
</body>
</html>
{{end}}